package com.xiaoyu.lanling.feature.videocall.activity

import android.content.Intent
import android.os.Bundle
import com.xiaoyu.lanling.R
import com.xiaoyu.lanling.activity.base.AppCompatToolbarActivity
import com.xiaoyu.lanling.feature.videocall.controller.VideoCallViewController

class VideoCallActivity : AppCompatToolbarActivity() {

    private var mController: VideoCallViewController? = null

    override fun onCreateSafelyAfterAppFinishInit(savedInstanceState: Bundle?) {
        super.onCreateSafelyAfterAppFinishInit(savedInstanceState)
        setContentView(R.layout.video_call_activity)
        mController = VideoCallViewController(this)
    }

    override fun onResume() {
        mController?.onResume()
        super.onResume()
    }

    override fun onStop() {
        mController?.onStop()
        super.onStop()
    }

    override fun onDestroy() {
        mController?.onDestroy()
        super.onDestroy()
    }

    override fun onBackPressed() {
    }
}